package com.slofzx.nuoda.evaluation.project.compont.exported;

import com.slofzx.nuoda.evaluation.project.enums.ProductTypeEnum;
import org.springframework.stereotype.Component;

@Component
public class BatchExportExcelComponent extends AbstractExportExcelComponent {


    public String getTemplatePath(ProductTypeEnum productType) {
        String templatePath = OIL_TEMPLATE;
        if (ProductTypeEnum.GAS == productType) {
            templatePath = GAS_TEMPLATE;
        }
        return templatePath;
    }
}
